const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/qryWeather' :{
        target: 'https://devapi.qweather.com/v7/weather/3d',
        changeOrigin :true,
        secure : true,
        pathRewrite:{'^/qryWeather': '' }
      }
    }
  },
  configureWebpack: {
    devtool: 'source-map'
}
})
